<include file="Public/head" />

<body style="background-color:#f2f9fd;">
  <div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
      <h1>

        <empty name="company['company_logo']">
          <img src="__PUBLIC__/images/zanwu.jpg" class="radius-circle rotate-hover" height="50" />
          <else />
          <img src="__ROOT__/{$company['company_logo']}" class="radius-circle rotate-hover" height="50" />
        </empty>
        {$company['company_name']}
      </h1>
    </div>
    <div class="head-l" style="float: right; margin-right: 50px;">
      <a class="button button-little bg-red" href="{:U('Login/logout')}">
        <span class="icon-power-off"></span> {:L("logout")}
      </a>
    </div>
  </div>
  <div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>{:L("caidanliebiao")}</strong></div>
    <h2><span class="icon-cogs"></span>{:L("peizhixinxi")}</h2>
    <ul style="display:block">
      <li><a href="{:U('company/index')}" target="right"><span class="icon-caret-right"></span>{:L("shangjiaxinxi")}</a></li>
      <li><a href="{:U('store/index')}" target="right"><span class="icon-caret-right"></span>{:L("menmianguanli")}</a></li>
        <li><a href="{:U('bannar/index')}" target="right"><span class="icon-caret-right"></span>轮播图管理</a></li>
    </ul>
    <h2><span class="icon-user"></span>{:L("huiyuanguanli")}</h2>
    <ul>
    <li><a href="{:U('Member/index')}" target="right"><span class="icon-caret-right"></span>{:L("huiyuanliebiao")}</a></li>
  </ul>
    <h2><span class="icon-print"></span>{:L("shangpinguanli")}</h2>
    <ul>
      <li><a href="{:U('Goodscate/index')}" target="right"><span class="icon-caret-right"></span>{:L("shangpinfenlei")}</a></li>
      <li><a href="{:U('Goods/index')}" target="right"><span class="icon-caret-right"></span>{:L("shangpinliebiao")}</a></li>
    </ul>
    <h2><span class="icon-star"></span>{:L("dingdanguanli")}</h2>
    <ul>
      <li><a href="{:U('Order/index')}" target="right"><span class="icon-caret-right"></span>{:L("dingdanliebiao")}</a></li>
    </ul>
    <h2><span class="icon-table"></span>{:L('canzhuoguanli')}</h2>
    <ul>
      <li><a href="{:U('Tablecate/index')}" target="right"><span class="icon-caret-right"></span>{:L('canzhuofenlei')}</a></li>
      <li><a href="{:U('Table/index')}" target="right"><span class="icon-caret-right"></span>{:L('canzhuoliebiao')}</a></li>
    </ul>
    <h2><span class="icon-car"></span>{:L('paihaoguanli')}</h2>
    <ul>
      <li><a href="{:U('Getnum/index')}" target="right"><span class="icon-caret-right"></span>{:L('jiaohaochuli')}</a></li>
    </ul>
    <h2><span class="icon-user"></span>{:L('jueseguanli')}</h2>
    <ul>
      <li><a href="{:U('Role/index')}" target="right"><span class="icon-caret-right"></span>{:L('juesetianjia')}</a></li>
    </ul>
    <h2><span class="icon-user"></span>{:L('quanxianguanli')}</h2>
    <ul>
      <li><a href="{:U('Auth/index')}" target="right"><span class="icon-caret-right"></span>{:L('quanxianguanli')}</a></li>
    </ul>
    <h2><span class="icon-user"></span>{:L('houtaiguanliyuan')}</h2>
    <ul>
      <li><a href="{:U('Auth/index')}" target="right"><span class="icon-caret-right"></span>{:L('houtaiguanliyuan')}</a></li>
    </ul>
    <h2><span class="icon-user"></span>{:L('houtaiguanliyuan')}</h2>
    <ul>
      <li><a href="{:U('Admin/index')}" target="right"><span class="icon-caret-right"></span>{:L('houtaiguanliyuan')}添加</a></li>
    </ul>
  </div>
  <script type="text/javascript">
    $(function(){
      $(".leftnav h2").click(function(){
       $(this).next().slideToggle(200);	
       $(this).toggleClass("on"); 
     })
      $(".leftnav ul li a").click(function(){
       $("#a_leader_txt").text($(this).text());
       $(".leftnav ul li a").removeClass("on");
       $(this).addClass("on");
     })
    });
  </script>
  <ul class="bread">
    <li><a href="{:U('Company/index')}" target="right" class="icon-home"> {:L("home")}</a></li>
    <li><a href="##" id="a_leader_txt">{:L("shangjiaxinxi")}</a></li>
    <li style="float: right;"><b>{:L("languager")}：</b><a href="?l=zh-cn">{:L("chinese")}</a> | <a href="?l=en-us">{:L("english")}</a></li>
  </ul>
  <div class="admin">
    <iframe scrolling="auto" rameborder="0" src="{:U('Company/index')}" name="right" width="100%" height="100%"></iframe>
  </div>
</body>

</html>